package service_locator_pattern;

/**
 * @author liwuji
 * @date 2024/1/9
 * @desc
 **/
public class Service2 implements Service{
    @Override
    public String getName() {
        return "Service2";
    }

    @Override
    public void execute() {
        System.out.println("Executing Service2");

    }
}
